home *** CD-ROM | disk | FTP | other *** search
- Path: cs.tu-berlin.de!ulrich
- From: ulrich@cs.tu-berlin.de (Ulrich Wittenberg)
- Newsgroups: comp.lang.c
- Subject: May fprintf () be recursive?
- Date: 18 Apr 1996 14:15:30 GMT
- Organization: TU Berlin Fachbereich Informatik
- Message-ID: <4l5f9s$ad3@news.cs.tu-berlin.de>
- NNTP-Posting-Host: krypton.cs.tu-berlin.de
- Mime-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
-
-
- Hello,
-
- My program developed a strange error in the dynamic memory management
- when it had a line of the following type in it:
-
- fprintf (stderr, "fprintf returns %#X\n", fprintf (stderr, "TEST\n"));
-
- So, my question is: Is it allowed for fprintf to be called
- recursively????
-
- BTW: when I changed that line to an iterative way, the program worked
- fine
-
- Suggestions?
-
- Ulrich
- --
- Ulrich Wittenberg, c/o PRZ
- 10587 Berlin, Germany, Europe, Terra, Sol System, Milky Way, Universe (Backyard)
- International Phone: xx49 30 314 25985 (Germany Berlin TU Office)
-